package com.leaf.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * 后台管理
 * 
 * @author leaf
 *
 */
@Controller
@RequestMapping("control")
public class CenterController {

	@RequestMapping(value = "index.do", method = RequestMethod.GET)
	public String index() {
		return "index";
	}

	@RequestMapping(value = "top.do", method = RequestMethod.GET)
	public String top() {
		return "top";
	}

	@RequestMapping(value = "main.do", method = RequestMethod.GET)
	public String main() {
		return "main";
	}
	
	@RequestMapping(value = "left.do", method = RequestMethod.GET)
	public String left() {
		return "left";
	}
	
	@RequestMapping(value = "right.do", method = RequestMethod.GET)
	public String right() {
		return "right";
	}

}
